//
//  Header.h
//  WuliHanhan
//
//  Created by chen tang on 16/2/25.
//  Copyright © 2016年 LVpeng. All rights reserved.
//

#ifndef Header_h
#define Header_h


#define biliwith(a)                 (a*[[UIScreen mainScreen] bounds].size.width)/320
#define biliheight(a)               (a*[[UIScreen mainScreen] bounds].size.height)*320


#define uicolor(a,b,c)              [UIColor colorWithRed:a/255.0 green:b/255.0 blue:c/255.0 alpha:1.0]


#define heightView   [[UIScreen mainScreen] bounds].size.height

#define WithView     [[UIScreen mainScreen] bounds].size.width

#define SINGLETON_INTERFACE(viewController) +(viewController*)sharedInstance


#define sloganIntence(viewController)  \
                                            static viewController *threeView = nil;\
                                            + (viewController *)sharedInstance{\
                                        @synchronized(self)\
                                        {\
                                                if (threeView == nil)\
                                            {\
                                            threeView = [[viewController alloc] init];\
                                            }\
                                        }\
                                            return threeView;\
                                            }\
//                                            \
//                                            + (id) allocWithZone:(struct _NSZone *)zone\
//                                                    {\
//                                                        return [viewController sharedInstance];\
//                                                    }\
//                                        \
//                                            - (id)copyWithZone:(struct _NSZone *)zone\
//                                                    {\
//                                                        return [viewController sharedInstance];\
//                                                    }\









#define imageCountNUmber        9







#define imageSaveSuccess       @"shuxinxiangce"
#define getXiangceImage        @"huoquxiangcexuanzhong"


#endif /* Header_h */
